package com.maben.udp.test002;

/**
 * 模拟聊天用户Factory
 */
public class Factory {
    public static void main(String[] args) {
        new Thread(new ChatSender("Factory", 6665, "localhost", 5555)).start();
        new Thread(new ChatReceiver("Car", 6666)).start();
        System.out.println("启动成功：");
    }
}